package com.hanlin.backend.service;

import com.hanlin.backend.common.entity.HlUser;
import com.hanlin.backend.common.entity.HlUserLoginLog;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 登录记录表 服务类
 * </p>
 *
 * @author hl.yuan
 * @since 2021-04-20
 */
public interface HlUserLoginLogService extends IService<HlUserLoginLog> {
    /**
     * 保存登录日志
     * @param code
     * @param hlUser
     * @param request
     */
    void saveLoginLog(String code, HlUser hlUser, HttpServletRequest request);
}
